﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Yto.Entities.Record
{
    [Serializable]
    public abstract class CreateAndModifyEntity : CreateAndModifyEntity<int>
    {
    }

    [Serializable]
    public abstract class CreateAndModifyEntity<T> : CreateEntity<T>, ICreateAndModify
    {
        [Column("MODIFYTIME")]
        public virtual DateTime? ModifyTime { get; set; }

        [Column("MODIFIERID")]
        public virtual long? ModifierId { get; set; }
    }
}
